#include "ex16_4.h"
#include <iostream>
#include <list>
#include <string>
#include <vector>
#include "ex16_2.h"
using namespace std;

int main(int argc, char** argv) {
  cout << compare(5, 6) << endl;
  vector<int> vec1;
  vec1.push_back(2);
  vec1.push_back(3);
  if (my_find(vec1.begin(), vec1.end(), 2)) {
    cout << "The element has been found ！" << endl;
  } else {
    cout << "Ops~~" << endl;
  }

  list<string> list1;
  list1.push_back("sad");
  list1.push_back("sand");
  if (my_find(list1.begin(), list1.end(), "sad")) {
    cout << "The element has been found ！" << endl;
  } else {
    cout << "Ops~~" << endl;
  }
  system("pause");
  return 0;
}